package com.execdemo.demoeventservice.enumerate;

import lombok.Getter;

@Getter
public enum EventEnum {

    SUCCESS("success","200","成功","订单接收成功"),
    FAIL("fail","000","失败","内部流程错误"),

    ORDER_PRICE_ERROR("merchantAmountType","001","商家承担金额错误","订单折后金额异常"),
    ORDER_TIME_ERROR2("storeTimeType","002","门店营业时间错误","超出门店营业时间范围"),;


    private String type;
    private String code;
    private String message;
    private String note;

    private EventEnum(String type,String code, String message, String note) {
        this.type = type;
        this.code = code;
        this.message = message;
        this.note = note;
    }
}
